package com.example.activitidemo.service.impl;

import com.example.activitidemo.service.ExampleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class ExampleServiceImpl implements ExampleService {

    @Value("${task.message:####你好####}")
    private String msg;

    @Override
    public String printMsg() {
        return msg;
    }

}
